<div class="row">
	<div class="span7">
		<h1>欢迎使用 WiTure 平台</h1>
	</div>
	<div class="span5">
		<form class="form-signin" action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
			<h3 class="form-signin-heading">商家登录</h3>
			<input type="text" name="signin[username]" id="signin_username" class="input-block-level" placeholder="登录名">
			<input type="password" name="signin[password]" id="signin_password" class="input-block-level" placeholder="Password">
			<?php if($form['username']->getError()): ?>
				<div class="alert alert-error">
					<?php echo $form['username']->getError() ?>
				</div>
			<?php endif ?>
			<?php echo $form['_csrf_token']->render() ?>
			<button class="btn btn-large btn-primary" type="submit">登录</button>
		</form>
	</div>
</div>
